import Main from "@/components/main/main";

export const routers = [
    {
        path: "/",
        name: "main",
        component: Main,
        meta: {
            hide: false,
            title: "main",
            icon: "md-speedometer",
        },
        children: [
            {
                path: "/",
                name: "Home",
                meta: {
                    hide: false,
                    title: "首页"
                },
                component: () => import("@/views/Home/Home")
            },
            {
                path: "/About",
                name: "About",
                meta: {
                    hide: false,
                    title: "工作台",
                    permission: ['admin']
                },
                component: () => import("@/views/About")
            },
        ]
    },
]